Skip to content

feat: Add hideValue flag to TransactionDataListItem - #583

Merged
milosh86 merged 3 commits into
mainfrom
transaction-item-price-remove
Sep 10, 2025
Merged

feat: Add hideValue flag to TransactionDataListItem#583
milosh86 merged 3 commits into
mainfrom
transaction-item-price-remove

Conversation

@milosh86

@milosh86 milosh86 commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

Description

Add hideValue prop to TransactionDataListItem to hide the fiat value.

Task: APP-4534

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Developer Checklist:

  • Manually smoke tested the functionality locally
  • Confirmed there are no new warnings or errors in the browser console
  • Made the corresponding changes to the documentation
  • Added tests that prove my fix is effective or that my feature works
  • (For User Stories only) Double-checked that all Acceptance Criteria are satisified
  • Confirmed there are no new warnings on automated tests
  • Selected the correct base branch
  • Commented the code in hard-to-understand areas
  • Followed the code style guidelines of this project
  • Reviewed that the files changed in GitHub’s UI reflect my intended changes
  • Confirmed the pipeline checks are not failing

Review Checklist:

  • Tested locally that all Acceptance Criteria or Expected Outcomes are satisfied
  • Confirmed that changes follow the code style guidelines of this project

Signed-off-by: Milos Dzepina <milos@aragon.org>
Signed-off-by: Milos Dzepina <milos@aragon.org>
Copilot AI review requested due to automatic review settings September 10, 2025 07:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a hideValue prop to the TransactionDataListItem component that allows hiding the fiat value (USD price) display while still showing the token amount.

  • Added optional hideValue boolean prop to control fiat value visibility
  • Updated component structure to conditionally render the USD price span
  • Added comprehensive test coverage and Storybook examples

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
transactionDataListItemStructure.tsx Added hideValue prop handling and conditional rendering of USD price
transactionDataListItemStructure.test.tsx Added test case to verify USD price is hidden when hideValue is true
transactionDataListItemStructure.stories.tsx Added new story examples including HideValue variant
transactionDataListItemStructure.api.ts Added hideValue prop to TypeScript interface with documentation
nine-moles-start.md Added changeset entry for the new feature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@arabot-1

arabot-1 commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

🚀 Preview Deployment: View Here

@thekidnamedkd thekidnamedkd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✨

@milosh86
milosh86 merged commit 03cabfa into main Sep 10, 2025
8 checks passed
@milosh86
milosh86 deleted the transaction-item-price-remove branch September 10, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants